package com.zmn.brs.common.model.dio.objective;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：目标指标预警查询入参
 * @author chongw
 * @since 2021/06/09 11:41
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "目标指标预警查询")
public class ObjectiveWarnQueryDIO implements Serializable {

    /**
     * 目标考核对象类型：0 一级部门目标 1 责任人目标，2 二级部门目标
     */
    @ApiParam(value = "目标考核对象类型：0 一级部门目标 1 责任人目标，2 二级部门目标", required = true)
    @NotNull(message = "目标考核对象类型不能为空")
    private Integer objMasterType;

    /**
     * 目标考核对象ID
     */
    @ApiParam(value = "目标考核对象ID", required = true)
    @NotNull(message = "目标考核对象ID不能为空")
    private Integer objMasterId;

    /**
     * 场景ID
     */
    @ApiParam(value = "场景ID", required = true)
    @NotNull(message = "场景ID不能为空")
    private Integer sceneId;

    /**
     * 任务类型
     */
    @ApiParam(value = "任务类型", required = true)
    @NotNull(message = "任务类型不能为空")
    private Integer jobType;


    /**
     * 任务版本
     */
    @ApiParam(value = "任务版本号", required = true)
    @NotNull(message = "任务版本号不能为空")
    private String taskVersionId;

}
